//
//  HttpLogger.h
//  Alarm3DExperiments4
//
//  Created by 우성 김 on 12. 4. 6..
//  Copyright (c) 2012년 yy01ar@gmail.com. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface HttpLogger : NSObject
{
    NSString *postData;
    
//    NSMutableURLRequest *request;
    NSURLResponse *response;
    
    NSOperationQueue *queue;
}

@property NSURL *loggerURL;

@property NSString *rid;

@property NSString *tag;
@property NSString *description;

-(id)initWithURL:(NSString*)url;
-(void)generateRid;

//-(void)sendAsyncRequestWithQueue:(NSOperationQueue*)queue andHandler:(void (^)(NSURLResponse*, NSData*, NSError*)) handler NS_AVAILABLE(10_7, 5_0);
-(void)sendSimpleAsyncRequestWithTag:(NSString *)tag andDescription:(NSString*) description;
    
-(BOOL)canSetPostData;
-(BOOL)setPostData;
-(BOOL)hasPostData;


@end
